package com.settlement.system.service;

import com.settlement.system.model.entity.SysFlowMarket;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.query.SysFlowMarketQuery;
import com.settlement.system.model.form.SysFlowMarketForm;
import com.settlement.system.model.vo.NetAutoGroup;
import com.settlement.system.model.vo.SysFlowMarketImportVo;
import java.util.List;

/**
 * <p>
 * 流程市场表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-12-28
 */
public interface SysFlowMarketService extends IService<SysFlowMarket> {

    Page<SysFlowMarket> getPage(SysFlowMarketQuery queryParams);

    boolean saveSysFlowMarket(SysFlowMarketForm sysFlowMarketForm);

    SysFlowMarketForm getSysFlowMarketFormData(Long id);

    boolean deleteSysFlowMarket(String ids);

    void importData(List<SysFlowMarketImportVo> importVos);

    List<SysFlowMarketImportVo> findByIds(String idsStr);

    List<String> categoryList();

    List<SysFlowMarket> flowListByType(String type);

    boolean publish(Long flowId, String type, String content);

    String downloadFlow(Long flowId);

    List<NetAutoGroup> getAllFlowList();

    List<NetAutoGroup> getUserFlowList();
}
